home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 October / JOY141_CD2.iso / Data / Sharewares / Graphisme / Nimo50Build8.exe / DirectVobSub / Help and faqs / ass-quickref.txt next >
Text File  |  2002-06-06  |  2KB  |  68 lines

  1. Syntax:
  2.  
  3. <parameter>
  4. [optional]
  5. <../..> mutually exclusive parameters
  6.  
  7. Effects:
  8.  
  9. Scroll up;<y1>;<y2>;<delay>[;fadeawayheight]
  10. Scroll down;<y1;<y2;<delay>[;fadeawayheight]
  11. Banner;<delay>[;<lefttoright=0/1>;fadeawaywidth]
  12.  
  13. Style Modifiers:
  14.  
  15. \n                        soft break (only valid with \q2, gets replaced with soft space in other wrap modes)
  16. \N                        hard break
  17. \h                        hard space
  18.  
  19. Between {...}:
  20.  
  21. \b<0/1/weight>                    bold
  22. \i<0/1>                        italic
  23. \u<0/1>                        underline
  24. \s<0/1>                        strikeout
  25. \bord<width>                    border
  26. \shad<depth>                    shadow
  27. \be<0/1>                    blur edges
  28. \fn<name>                    font
  29. \fs<size>                    size
  30. \fsc<x/y><percent>                scale
  31. \fsp<pixels>                    spacing
  32. \fr[<x/y/z>]<degrees>                rotation
  33. \fe<charset>                    character set
  34. \c&H<bbggrr>&                    primary color
  35. \<1/2/3/4>c&H<bbggrr>&                primary/secondary/outline/shadow color
  36. \alpha&H<aa>&                    primary alpha
  37. \<1/2/3/4>a&H<aa>&                primary/secondary/outline/shadow alpha
  38. \a[n]<alignment>                ssa alignment type (n - numpad layout)
  39. \k[<f/o>]<duration>                karaoke (f - filled from left to right, o - outline highlighting)
  40. \K                        same as \kf
  41. \q<0-3>                        wrap style (0,3 - even lines, 1 - endofline, 2 - manual)
  42. \r[<name>]                    loads default (or <name>) style
  43.  
  44. \t([<t1>,<t2>,][<accel>,]<style modifiers>)     animation, accel: 0->1 slowing, 1->.. accelerating
  45.  
  46. \move(<x1>,<y1>,<x2>,<y2>[,<t1>,<t2>])
  47. \pos(<x>,<y>)
  48. \org(<x>,<y>)                    changes the origin of the transformations (scaling, rotation), always use \pos instead of \org to manually position the subs
  49. \fade(<a1>,<a2>,<a3>,<t1>,<t2>,<t3>,<t4>)    fadein: t1 -> t2, fadeout: t3 -> t4
  50. \fad(<t1>,<t2>)                    fadein: start -> start+t1, fadeout: end-t2 -> end
  51. \clip(<x1>,<y1>,<x2>,<y2>)            clips drawing outside the given rectangle
  52. \clip([<scale>,]<some drawings>)        clips by intersecting with the drawn shape
  53.  
  54. Drawings:
  55.  
  56. \p<0/1/..>                    turns on/off drawing mode (0 - off, 1.. - on)
  57. \pbo<y>                        baseline offset
  58.  
  59. Between {\p<1/..>} and {\p0}:
  60.  
  61. m <x> <y>                    move to 
  62. n <x> <y>                    move to (doesn't close)
  63. l <x> <y>                    line to
  64. b <x1> <y1> <x2> <y2> <x3> <y3>            bezier to
  65. s <x1> <y1> <x2> <y2> <x3> <y3> .. <xN> <yN>    b-spline to (uniform)
  66. p <x> <y>                    extend b-spline
  67. c                        close b-spline
  68.